package ru.niir.goodfil.audit.domain;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class ClientDebtChangeEvent extends Event {
    @Column(length = 10)
    private String clientId;

    @Column(length = 200)
    private String clientName;

    @Column(length = 20)
    private String oldDebtBank;

    @Column(length = 20)
    private String newDebtBank;

    @Column(length = 20)
    private String oldDebtCash;

    @Column(length = 20)
    private String newDebtCash;

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getOldDebtBank() {
        return oldDebtBank;
    }

    public void setOldDebtBank(String oldDebtBank) {
        this.oldDebtBank = oldDebtBank;
    }

    public String getNewDebtBank() {
        return newDebtBank;
    }

    public void setNewDebtBank(String newDebtBank) {
        this.newDebtBank = newDebtBank;
    }

    public String getOldDebtCash() {
        return oldDebtCash;
    }

    public void setOldDebtCash(String oldDebtCash) {
        this.oldDebtCash = oldDebtCash;
    }

    public String getNewDebtCash() {
        return newDebtCash;
    }

    public void setNewDebtCash(String newDebtCash) {
        this.newDebtCash = newDebtCash;
    }

    @Override
    public String toString() {
        return "ClientDebtChangeEvent{" +
                "clientId='" + clientId + '\'' +
                ", clientName='" + clientName + '\'' +
                ", oldDebtBank='" + oldDebtBank + '\'' +
                ", newDebtBank='" + newDebtBank + '\'' +
                ", oldDebtCash='" + oldDebtCash + '\'' +
                ", newDebtCash='" + newDebtCash + '\'' +
                '}';
    }
}
